package cn.tac.framework.webapp.processer.response.adapter;

import cn.tac.framework.core.pojo.RestfulApiResponse;

/**
 * 用于只返回数据的适配器
 *
 * @author : tac
 * @since : 2017/8/2
 */
public class Response4OnlyDataAdapter implements ResponseAdapter<Object> {
    @Override
    public Object doAdapt(RestfulApiResponse response) {
        return response.getData();
    }
}
